import  request  from "@/utils/request";
// 分页
export function baseTrademark(page=1,limit=3) {
  return request({
      method:'get',
    url: `admin/product/baseTrademark/${page}/${limit}`,
  })
}
// 增品牌
export function addsave(data){
    return request({
        method:'post',
        url:'admin/product/baseTrademark/save',
        data
    })
}
// 修改品牌
export function update(data){
    return request({
        method:'put',
        url:'admin/product/baseTrademark/update',
        data
    })
}
// 删除品牌
export function deletetrademark(id){
    return request({
        method:'delete',
        url:`admin/product/baseTrademark/remove/${id}`
    })
}